package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.math.BigDecimal;

@Data
@ApiModel(value = "修改司机大红包规则")
public class UpdateSpecialRewardRuleWrapper {

    @ApiModelProperty(value = "司机数量")
    @Min(value = 0, message = "司机数量 最少为0")
    private Integer driverCount;

    @ApiModelProperty(value = "红包金额")
    @Min(value = 0, message = "红包金额 最少为0")
    private BigDecimal rewardAmount;

    @ApiModelProperty(value = "开始时间,格式 Hm")
    private String rewardDistributeStartHm;

    @ApiModelProperty(value = "结束时间,格式 Hm")
    private String rewardDistributeEndHm;

    @ApiModelProperty(value = "是否启用")
    private Boolean isActive;
}
